<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <style>
        div {
            background-color: red;
            width: 500px; height: 500px;
            margin: 10px;
            background-image: url("http://hmkcloud.cn/usr/themes/handsome/assets/img/sj/2.jpg");
            background-size: 100px;
        }
        p {
            font-size: 20px;
            color: black;
        }
    </style>
</head>
<!--行内样式表优先级比较高-->
<div style="background-size: 50px">
    <p>
        这是何明康的个人网站
    </p>
</div>

</html>